package com.learn.demo.dao;

import com.learn.demo.entity.TestA;
import com.learn.demo.entity.TestB;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 持久类
 *
 * @author banjiawei
 * @date 2022/01/10
 */
@Mapper
public interface AsyncTransactionalMapper {
    /**
     * TestA
     * @author banjiawei
     * @date 2022/1/10
     * @param
     * @return void
     */
    void insertTestA();

    /**
     * ListA
     * @author banjiawei
     * @date 2022/1/10
     * @param
     * @return java.util.List<com.learn.demo.entity.TestA>
     */
    List<TestA> listA();

    /**
     * TestB
     * @author banjiawei
     * @date 2022/1/10
     * @param
     * @return void
     */
    void insertTestB();

    /**
     * ListB
     * @author banjiawei
     * @date 2022/1/10
     * @param
     * @return java.util.List<com.learn.demo.entity.TestB>
     */
    List<TestB> listB();
}
